package com.example.service;

import com.example.entity.Content;
import com.example.entity.Doc;
import com.example.req.DocSaveReq;

import java.util.List;

public interface DocService {
    List<Doc> findDoc(Long ebookId);

    void saveDoc(DocSaveReq req);

    void deleteDoc(Long id);

    void deleteDocByList(List<Long> docList);

    String findDocContent(Long id);

    void updateDocView(Long id);

    void updateDocVote(Long id);

    void updateEbookDocInfo();
}
